import { getList } from "../../../request/list_api";
export function useListHooks() {
  const list = ref([]);
  (async () => {
    try {
      const res = await getList();
      list.value = res.result;
      // console.log(list.value);
    } catch (err) {
      console.log(err);
    }
  })();

  return { list };
}
